package com.umpay.privi.util;

import java.util.List;

public class ListUtil {
	public static String joinAs(List<String> strList,String splitStr){
		StringBuilder strBuil =new StringBuilder();
		for (int i = 0; i < strList.size(); i++) {
			if(strList.size()!= i+1){
				strBuil.append(strList.get(i).trim()).append(splitStr);
			}else{
				strBuil.append(strList.get(i).trim());
			}
		}
		return strBuil.toString();
	}
	
}
